package com.hwl.demo9.entity;

import java.util.ArrayList;

/**
 * @author sentry
 * @since 2023-03-19
 */
public class Product {

    ArrayList<String> parts = new ArrayList<>();

    public void add(String part) {
        parts.add(part);
    }

    public void show() {
        for (String part : parts) {
            System.out.println(part);
        }
    }
}
